# def prime(num):
#     for i in range(2,num):
#         if num % i == 0:
#             return False
#     else:
#         return True
# # 求100以内的质数
# for i in range(2,100+1):
#     if prime(i):
#         print(i,'是质数')

# #求2-20范围内的梅森质数
# def mersenne(num):
#     if prime(num) and prime(2**num - 1):
#         return num
#     else:
#         return -1

# for i in range(2,20+1):
#     result = mersenne(i)
#     if result != -1:
#         print(result)


# def huayuan(r,pi = 3.14):
#     return pi * r ** 2

# print(huayuan(5))

# def rect(w,h = -1):
#     if h == -1:
#         h = w
#     return w * h, 2*(w + h)
# print(rect(5))

# def my_pow(n,p = 2,sq = False):
#     if sq:
#         return n ** (1/p)
#     else:
#         return n ** p

# print(my_pow(2,2,True))

# print()


# def my_func():
#     return ['hello',3,2.33]

# print(my_func())





